package com.bwie.controller;

import com.bwie.service.AttrGroupService;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author GaoYiJie
 * @Description
 * @Create 2025/2/27 10:27
 * @Version 1.0
 */
@RestController
@RequestMapping("/shop/attrGroup")
public class AttrGroupController {

    @Autowired
    AttrGroupService attrGroupService;

    @PostMapping("/getAttrGroupList")
    public R getAttrGroupList(){
        return attrGroupService.getAttrGroupList();
    }
}
